/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: wuhao
 * @Date: 2021-08-25 10:38:36
 * @LastEditors: wuhao
 * @LastEditTime: 2021-08-25 15:29:38
 */
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        Menus: [{
                "path": "/home",
                "name": "首页",
                "icon": "el-icon-s-home"
            },
            {
                "path": "/user",
                "name": "用户管理",
                "icon": "el-icon-user",
                "children": [{
                        "path": "/user/profile",
                        "name": "用户信息",
                        "icon": null,
                    },
                    {
                        "path": "/user/role",
                        "name": "角色配置",
                        "icon": null,
                    }
                ]
            },
            {
                "path": "/content",
                "name": "内容管理",
                "icon": "el-icon-tickets",
                "children": [{
                        "path": "/content/department",
                        "name": "就业部类",
                        "icon": null
                    },
                    {
                        "path": "/content/student",
                        "name": "学生类",
                        "icon": null,
                        "children": [{
                            "path": "/content/student/graduateInfo",
                            "name": "毕业生信息",
                            "icon": null
                        }]
                    },
                    {
                        "path": "/content/enterprise",
                        "name": "企业类",
                        "icon": null
                    }
                ]
            },
            {
                "path": "/system",
                "name": "系统管理",
                "icon": "el-icon-s-tools",
                "children": [{
                        "path": "/system/run",
                        "name": "运行情况",
                        "icon": null
                    },
                    {
                        "path": "/system/data",
                        "name": "备份恢复数据库",
                        "icon": null
                    },
                    {
                        "path": "/system/log",
                        "name": "操作日志",
                        "icon": null
                    }
                ]
            },
            {
                "path": "/link",
                "name": "链接",
                "icon": "el-icon-paperclip"
            }
        ]
    },
    mutations: {},
    actions: {},
    modules: {}
})